package org.xyf.userService.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class AuthController {

    private static Logger logger = LoggerFactory.getLogger(AuthController.class);

    @PostMapping("/login")
    public String login(){
        logger.info("有人登录成功了!!!");
        return "登录成功";
    }
}
